package gyb.rasa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.ArrayList;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 郜宇博
 * @since 2023-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MessageReceived对象", description="")
@NoArgsConstructor
@AllArgsConstructor
public class MessageReceived implements Serializable {

    private static final long serialVersionUID=1L;


    @TableId(value = "mid", type = IdType.AUTO)
    private Integer mid;


    @TableField(value = "`from_user_id`")
    private String fromUserId;


    @TableField(value = "`session_id`")
    private String sessionId;


    @TableField(value = "`content`")
    private String content;


    @TableField(value = "`when`")
    private String when;


    @TableField(value = "`ip_address`")
    private String ipAddress;

    @TableField(value = "`response`")
    private String response;

    @TableField(value = "`entity`")
    private String entity;

    @TableField(value = "`good`")
    private Integer good;


}
